package com.muyan;

import com.muyan.adapter.ListAdapter;
import com.muyan.service.OrderService;

import java.util.ArrayList;

/**
 * @Author: YLTDMenglc
 * @Date: 2019/6/11
 * @Time: 13:18
 * @Description:
 */
public class TestAdapter {

    public static void main(String[] args) {
        OrderService orderService = new OrderService();
        ArrayList arrayList = new ArrayList();
        arrayList.add("mayikt");
        arrayList.add("xiaowei");
        arrayList.add("xiaomin");
        ListAdapter listAdapter = new ListAdapter(arrayList);
        orderService.forMap(listAdapter);
    }
}
